package com.huixin.zhang.persistence.entity;

import java.util.Date;

import com.huixin.zhang.persistence.core.EntityCurdDao;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Builder;

import java.io.Serializable;

/**
 * @author: '张灿刚'
 * @date: 2021-03-04 17:15:28
 * @description: 登录日志(BaseAccountLogs)实体类
 */
@Data
@Builder
@ApiModel("登录日志实体类")
public class BaseAccountLogs implements Serializable {
    private static final long serialVersionUID = -44991816678114507L;

    @ApiModelProperty("")
    private Long id;

    @ApiModelProperty("")
    private Date loginTime;

    @ApiModelProperty("登录Ip")
    private String loginIp;

    @ApiModelProperty("登录设备")
    private String loginAgent;

    @ApiModelProperty("登录次数")
    private Integer loginNums;

    @ApiModelProperty("")
    private Long userId;

    @ApiModelProperty("")
    private String account;

    @ApiModelProperty("")
    private String accountType;

    @ApiModelProperty("账号ID")
    private Long accountId;

    @ApiModelProperty("账号域")
    private String domain;

    @ApiModelProperty("单位ID")
    private Long companyId;

}

